package com.cai.permission.dao;

import com.cai.permission.domain.SysDepartment;

import java.util.List;

public interface SysDepartmentMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(SysDepartment record);

    int insertSelective(SysDepartment record);

    SysDepartment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysDepartment record);

    int updateByPrimaryKey(SysDepartment record);

    List<SysDepartment> getDepartmentAll();
}